/* Liste des sujets ---------------------------------------- */

table.forum {
	font-size: 11px;
	width: 100%;
	border-collapse: collapse;
	padding: 5px;
	background: white;
	color: #333;
}
table.forum th {
	background: url(images/forum/th_background.png) repeat-x;
	border: 1px solid #606060;
	color: white;
	text-shadow: 1px 1px 1px black;
	height: 30px;
	padding: 0 2px;
}
table.forum tbody tr {
	background: url("images/input_bg.png") repeat-x;
}
table.forum td {
	vertical-align: center;
	border: 1px solid silver;
	padding: 3px;
}
table.forum td a {
	display: block;
	color: #3773B3;
}
em.forum-author {
	background: url("../images/icons/asterisk_orange.png") no-repeat 4px center;
	padding: 5px 0 5px 24px !important;
}
em.forum-replied {
	background: url("../images/icons/asterisk_yellow.png") no-repeat 4px center;
	padding: 5px 0 5px 24px !important;
}

.forum-navbar {
	width: 100%;
	font-size: 11px;
	margin-top: 1em;
}

.forum-navbar td {
	width: 33%;
	height: 32px;
	line-height: 32px;
}

/* Lecture d'un sujet ----------------------------------- */

.post, .post-answer, .post-preview {
	color: black !important;
	padding: 10px 12px 16px 12px;
	margin-top: 8px;
	color: #333;
	border-radius: 8px;
	-moz-border-radius: 8px;
}
.post strong, .post-answer strong, .post-preview strong {
	text-shadow: 1px 1px 0px white;
}
.post {
	background-color: #fce2bd;
	border: 1px solid #fcaf3e;
}

.post-answer {
	background-color: #bfd0e0;
	border: 1px solid #729fcf;
}

.post-preview {
	background-color: #c5e2a9;
	border: 1px solid #8ae234;
}
.post-info {
	background: url("../images/icons/page_white_text.png") 0 2px no-repeat;
	border-bottom: 1px solid #fcaf3e;
}
.post-answer-info {
	background: url("../images/icons/comment.png") 0 2px no-repeat;
	border-bottom: 1px solid #729fcf;
}

.post-info, .post-answer-info {
	padding-bottom: 4px;
	margin-bottom: 10px;
	padding-left: 20px;
}

.post-answer-count {
	float: right;
	font-weight: bold;
	color: #729fcf;
}

.post-separator {
	height: 10px;
	background: url(images/news-separator.png) no-repeat center;
}

.post-delete {
	width: 300px;
	text-align: center;
	margin: auto;
	display: none;
	background-color: #FFD4D4;
	border: 1px solid #D02626;
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 4px;
	color: #D02626;
	margin-top: 8px;
}
.post-delete a {
	font-variant: small-caps;
	text-decoration: none;
	color: #D02626;
}
.post-delete a:hover {
	text-decoration: underline;
}

/* boutons d'édition / suppression */

.button-delete, .button-edit {
	display: inline-block;
	color: #555;
	border: 1px solid #555;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 2px 6px 2px 28px;
	text-shadow: 1px 1px 0 white;
	font-weight: bold;
}
.button-delete:hover, .button-edit:hover {
	text-decoration: none;
	color: #3773b3;
}
.button-edit {
	background: url(images/forum/edit.png) no-repeat 6px center #eee;
}
.button-edit:hover {
	background-image: url(images/forum/edit-hover.png);
}
.button-delete {
	background: url(images/forum/delete.png) no-repeat 6px center #eee;
}
.button-delete:hover {
	background-image: url(images/forum/delete-hover.png);
}
/* Écriture d'un sujet ------------------------------------- */

.forum-form {
	margin-top: 1em;
	border: 1px solid silver;
	padding: 1.1em;
	background-color: #D0D0D0;
}

.forum-form textarea, .forum-form input[type=text] {
	width: 99%;
}

.forum-form .center input {
	width: 100px;
}

#forum-write-tools-on, #forum-write-tools-off {
	border: 1px solid silver;
	padding: 5px;
	background: white;
	background: url("images/input_bg.png") repeat-x white;
}

#forum-write-tools-on p, #forum-write-tools-off p {
	padding-left: 2em;
	margin: 10px 0 !important;
}

#forum-write-tools-on {
	display: none;
}

.forum-txt-bold {
	font-weight: bold;
}

.forum-txt-italic {
	font-style: italic;
}

.forum-txt-underline {
	text-decoration: underline;
}

.forum-txt-delete {
	text-decoration: line-through;
}

.forum-button:hover {
	cursor: pointer;
}
